import 'package:flutter/material.dart';
import 'package:flutter_app/generated/l10n.dart';

class BottomModule extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Row(
      children: [
        Expanded(
          child: Container(
            padding: EdgeInsets.symmetric(vertical: 15.0),
            child: Column(
              children: [
                SizedBox(
                  height: 10,
                ),
                Image.asset(
                  "assets/images/ic_home_bottom_logo.png",
                ),
                SizedBox(
                  height: 10,
                ),
                Text('Get More from Your Crypto',
                    style: TextStyle(
                        color: Colors.grey,
                        fontSize: 15,
                        fontWeight: FontWeight.w600)),
                SizedBox(
                  height: 5,
                ),
                Text(
                  S.of(context).slogan,
                  style: TextStyle(color: Colors.grey, fontSize: 12),
                ),
                SizedBox(
                  height: 10,
                ),
                Container(
                  width: 120,
                  child: FlatButton(
                    onPressed: () {},
                    color: Colors.white,
                    shape: RoundedRectangleBorder(
                        borderRadius: BorderRadius.circular(40),
                        side: BorderSide(color: Colors.grey.withOpacity(0.5))),
                    child: Text(
                      //about关于我们
                      S.of(context).about,
                      style: TextStyle(color: Colors.grey),
                    ),
                  ),
                )
              ],
            ),
          ),
        )
      ],
    );
  }
}
